﻿using System.Collections.Generic;
using EntitySetBase;

namespace Models
{
    public class Order : EntitySetWithCreateAndUpdate
    {
        public Order()
        {
            Details = new HashSet<OrderDetail>();
        }

        public decimal Total { get; set; }
        public string Customer { get; set; }

        public virtual ICollection<OrderDetail> Details { get; set; }
    }
}
